<ul class="layui-nav admin-dropdown">
    <li class="layui-nav-item">
        <a href="javascript:void(0);" class="layui-btn layui-btn-sm">批量操作</a>
        <dl class="layui-nav-child">
            @foreach($actions as $action)
                <dd>
                    <a href="javascript:void(0);" class="grid-batch-{{ $action['id'] }}" data-resource="{{ $action['resource'] }}"
                    >{{ $action['title'] }}</a>
                </dd>
            @endforeach
        </dl>
    </li>
</ul>